#include "stdafx.h"
#include "DwarfCraftsman.h"
#include "DwarfTypes.h"


CDwarfCraftsman::CDwarfCraftsman(std::string const & direction, std::string const & state)
	: CDwarf(DWARF_CRAFTSMAN, direction, state)
{
}

void CDwarfCraftsman::Say() const
{
	CDwarf::Say();
	std::cout << " I'm craftsman." << std::endl;
}

void CDwarfCraftsman::Work()
{
	
	if (GetState() == STANDS)
		SetState(MOVES);

	std::cout << "I'm craftsman. I'm making guns and tools." << std::endl;
}
